/**
 * 
 */
package metier;

import java.util.Vector;

/**
 * @author rpoitou
 *
 */
public class Redacteur
{
	private String nomRedac;
	private String prenomRedac;
	private String rueRedac;
	private int cpRedac;
	private String villeRedac;
	private Vector<Article> lesArticles;
	
	

	public Redacteur(String nomRedac, String prenomRedac, String rueRedac,
			int cpRedac, String villeRedac)
	{
		super();
		this.nomRedac = nomRedac;
		this.prenomRedac = prenomRedac;
		this.rueRedac = rueRedac;
		this.cpRedac = cpRedac;
		this.villeRedac = villeRedac;
		this.lesArticles = new Vector<Article>();
	}

	public String getNomRedac()
	{
		return nomRedac;
	}


	public String getPrenomRedac()
	{
		return prenomRedac;
	}



	public String getRueRedac()
	{
		return rueRedac;
	}



	public int getCpRedac()
	{
		return cpRedac;
	}


	public String getVilleRedac()
	{
		return villeRedac;
	}
	

	public Vector<Article> getLesArticles()
	{
		return lesArticles;
	}

	
	public void ajouterArticle (Article a)
	{
		this.lesArticles.add(a);
	}

	
	
	
	
	
	
}
